package transclusion.items;

import java.util.ArrayList;
import wordcram.Word;

public interface Itemable {	
	public class IndexedItem {
		public Itemable item;		
		public int index;
		
		public IndexedItem(Itemable itm, int i) {
			item = itm;
			index = i;
		}
	}
	public String name();
	public void setName(String n);
	public Itemable parent();
	public void setParent(Itemable p);
	public ArrayList<?> children();
	public ArrayList<Itemable> list();
	public ArrayList<Itemable> orderedList();
	public ArrayList<Word> words();
	public Word[] wordsArray();
	public long length();
	public long priority();
	public boolean isArticle();
	public boolean isCategory();
}
